package com.rnkrsoft.suyan.config.server.services.version.domains;

import lombok.*;

import javax.doc.annotation.ApidocElement;
import java.io.Serializable;

/**
 * Created by woate on 2019/6/25.
 */
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class QueryVersionRecord implements Serializable{
    @ApidocElement(value = "版本号编号", maxLen = 36)
    String versionId;

    @ApidocElement(value = "组织编号", maxLen = 20)
    String groupId;

    @ApidocElement(value = "组件编号", maxLen = 12)
    String artifactId;

    @ApidocElement(value = "版本号", maxLen = 36)
    String version;

    @ApidocElement(value = "创建日期", maxLen = 25, pattern = "yyyy/MM/dd HH:mm:ss")
    String createDate;

    @ApidocElement(value = "更新日期", maxLen = 25, pattern = "yyyy/MM/dd HH:mm:ss")
    String lastUpdateDate;
}
